Querying MIDI Input Devices

Before recording MIDI audio, you should use the midiInGetDevCaps4A9FZM0 function to determine the capabilities of the MIDI input device that is present in the system. This function takes an address of a MIDIINCAPS2ZOW.S5 structure, which it fills with information about the capabilities of the given device. This information includes the manufacturer and product identifiers, a product name for the device, and the version number of the device driver.